all:client server
client:client.cpp
	g++ -g -o $@ $^
server:server.cpp
	g++ -g -o $@ $^

.PHONY:clean
clean:rm -f client server
